// 抛出路由的数组对象

export default [
    // 登录页面
    {
        path: "/admin/login",
        name: "admin_login",
        component: () => import("@/views/admin/login")
    },
    // 首页
    {
        path: "/admin/home",
        name: "admin_home",
        component: () => import("@/views/admin/home"),
        redirect: "/admin/index",
        children: [
            // 首页
            {
                path: "/admin/index",
                name: "admin_index",
                component: () => import("@/views/admin/home/index"),
            },
            // 相册管理
            {
                path: "/admin/picture",
                name: "admin_picture",
                component: () => import("@/views/admin/home/picture"),
                meta: {
                    bread: ['相册管理']
                }
            },
            // 用户管理
            {
                path: "/admin/user",
                name: "admin_user",
                component: () => import("@/views/admin/user/list"),
                meta: {
                    bread: ['用户管理','会员列表']
                }
            },
            // 设置列表
            {
                path: "/admin/setting",
                name: "admin_setting",
                component: () => import("@/views/admin/seting/setting"),
                meta: {
                    bread: ['设置','基本设置']
                }
            },
        ]
    },

]